﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CanDoo.Oil.Core.DTOs
{
    /// <summary>
    /// 终端门锁状态、服务员卡余额、机器运行状态（包括电机状态、称重仪状态媒体屏状态等记录）
    /// </summary>
    public class StatusInfo
    {
        /// <summary>
        /// 用户卡号（用户id）
        /// </summary>
        //[Required]
        //public string uid { get; set; }

        /// <summary>
        /// 终端号
        /// </summary>
        [Display(Name = "终端号")]
        [Required]
        public string terminalNo { get; set; }

        /// <summary>
        /// 挡板状态
        /// </summary>
        [Display(Name = "挡板状态")]
        public int oilState { get; set; }
        /// <summary>
        /// 出油状态
        /// </summary>
        [Display(Name = "出油状态")]
        public int baffleState { get; set; }
        /// <summary>
        /// 门状态
        /// </summary>
        [Display(Name = "门状态")]
        public int doorState { get; set; }
        /// <summary>
        /// 管路状态
        /// </summary>
        [Display(Name = "管路状态")]
        public int pipingState { get; set; }

    }
}

